package org.example.mynote.service;

import org.example.mynote.Entity.User;
import org.example.mynote.dto.LoginResponseDTO;

public interface UserService {

    /**
     * 注册
     * @param username
     * @param password
     * @return
     */
    User register(String username, String password);

    LoginResponseDTO login(String username, String password);
}
